GHOST MATRIX OFF

This command will deactivate ghosting of a matrix.

  Syntax
GHOST MATRIX OFF Matrix Number
  Parameters
Matrix Number
Integer
The matrix number

  Returns

This command does not return a value.

  Description

Ghosted matrices will appear transparent when rendered, creating effects such as a see-through surface.

  Example Code
ink rgb(255,255,255),0
box 1,1,101,101
get image 1,0,0,101,101
position camera 0,300,0
autocam off
make matrix 1,1000,1000,25,25
prepare matrix texture 1,1,1,1
position matrix 1,0,0,0
randomize matrix 1,rnd(100)
update matrix 1
while inkey$()<>"x"
set cursor 0,0
print "press 1 to ghost matrix on"
if scancode()=2 then ghost matrix on 1
print "press 2 to ghost matrix off"
if scancode()=3 then ghost matrix off 1
x#=x#+mousemovey()
y#=y#+mousemovex()
rotate camera x#,y#,0
update matrix 1
endwhile
if matrix exist(1)=1 then delete matrix 1
end
  See also

MATRIX Commands Menu
Index